Include file example.php with XML string
SimpleXMLElement::addAttribute
SimpleXML
PHP Manual
SimpleXML Functions
Table of Contents
SimpleXMLElement::addAttribute
— Adds an attribute to the SimpleXML element
SimpleXMLElement::addChild
— Adds a child element to the XML node
SimpleXMLElement->asXML
— Devuelve una cadena XML basada en el objeto SimpleXML
SimpleXMLElement->attributes
— Identifica los atributos de un elemento
SimpleXMLElement->children
— Encuentra los hijos del nodo dado
SimpleXMLElement::__construct
— Creates a new SimpleXMLElement object
SimpleXMLElement::getDocNamespaces
— Returns namespaces declared in document
SimpleXMLElement::getName
— Gets the name of the XML element
SimpleXMLElement::getNamespaces
— Returns namespaces used in document
SimpleXMLElement::registerXPathNamespace
— Creates a prefix/ns context for the next XPath query
SimpleXMLElement->xpath
— Ejecuta una petición Xpath en la cadena XML
simplexml_import_dom
— Obtiene un objeto SimpleXMLElement a partir de un nodo DOM.
simplexml_load_file
— Interpreta un fichero XML en un objeto
simplexml_load_string
— Interpreta una cadena XML en un objeto
Include file example.php with XML string
SimpleXMLElement::addAttribute
SimpleXML
PHP Manual